package modelLayer;


public abstract class Person{
    private String name;
    private String phone;
    private String email;
    private String address;
    private int cprNo;
    
    public Person(String name, String phone, String email, String address, int cprNo) {
        this.name = name;
        this.phone = phone;
        this.email = email;
        this.address = address;
        this.cprNo = cprNo;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    public void setPhone(String phone) {
        this.phone = phone;
    }
    
    public void setEmail(String email) {
        this.email = email;
    }
    
    public void setAddress(String address) {
        this.address = address;
    }
    
    public void setCpr(int cprNo) {
        this.cprNo = cprNo;
    }
    
    public String getName() {
        return name;
    }
    
    public String getPhone() {
        return phone;
    }
    
    public String getEmail() {
        return email;
    }
    
    public String getAddress() {
        return address;
    }
    
    public int getCpr() {
        return cprNo;
    }
    
}
